/*
 * @Author: your name
 * @Date: 2021-01-29 15:08:34
 * @LastEditTime: 2021-02-04 11:04:38
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \wechat-node\routes\auth.js
 */
const router = require('koa-router')();
// const {checkSession} = require('../utils/utils');
// 单词模块
const words = require('./words.js');
// 视频模块
const video = require('./video.js');
// 新闻模块
const news = require('./news.js');
// 论坛模块
const forum = require('./forum');

router.use('', words.routes(), words.allowedMethods());
router.use('', video.routes(), video.allowedMethods());
router.use('', news.routes(), news.allowedMethods());
router.use('', forum.routes(), forum.allowedMethods());
// router.use('', newsRouter.routes(), newsRouter.allowedMethods());


module.exports = router;